import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Main',
      component: resolve => require(['@/main/Main'], resolve)
    },
    {
      path: '/One',
      name: 'One',
      component: resolve => require(['@/main/One'], resolve)
    },
    {
      path: '/Two',
      name: 'Two',
      component: resolve => require(['@/main/Two'], resolve)
    },
    {
      path: '/Three',
      name: 'Three',
      component: resolve => require(['@/main/Three'], resolve)
    },
  ]
})
